const service = {
    
    formatReceiveTime(row, column) {
        return row.receive_time_start + ' 至 ' +　row.receive_time_end;
    },

    formatReceiveWay(row, column) {
        switch (row.receive_way) {
            case 1:
                return '自取';
            case 0:
                return '未知';
        }
    },

    formatType(row, column) {
        switch (row.type) {
            case 1:
                return '积分';
            case 2:
                return '实物';
        }
    } 
}


export default service
